﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="CheckandUnion.aspx.cs" Inherits="ProductPackage_CheckandUnion" Title="包装区检查与关联成品序列号" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div>
        <br />
        <br />
    <br />
        <div style="text-align: center">
            <table style="width: 60%; border:solid 1px black;">
                <tr>
                    <td>
                        请扫描腔体序列号：</td>
                                            <td>
                                                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
        ControlToValidate="TextBox1" ErrorMessage="*" ValidationGroup="VGroup1"></asp:RequiredFieldValidator><asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
        ControlToValidate="TextBox1" ErrorMessage="*" ValidationGroup="VGroup2"></asp:RequiredFieldValidator>
                                            </td>
                                            <td>
    <asp:Button ID="Btn1"
        runat="server" Text="查 询" onclick="Button1_Click" 
        ValidationGroup="VGroup1" TabIndex="1" />
                                            </td>
                                        </tr>
                                    </table>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="Label1" runat="server" ForeColor="Red" Text="没有相关的测试记录！" 
        Visible="False"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;
    <div style="height: 300px; width:100%; text-align:center;">
    <br />    
    <br />
    <div style=" height:200px; width:500px; margin:0 auto; border-color:Gray; border-width:1px; border-style:solid;">
    <asp:Image ID="Image1" runat="server" Height="200px" Width="200px" 
        ImageUrl="~/Images/Pass.bmp" Visible="False" />
    <asp:Image ID="Image2" runat="server" Height="200px" Width="200px" 
        ImageUrl="~/Images/Fail.bmp" Visible="False" />    
    </div>
    <br />
    <br />    
    </div>
&nbsp;<br />
    <div>
    &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
        &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;<br />
            <table style="width: 60%; border:solid 1px black;">
                <tr>
                    <td style="height: 29px">
                                                    请扫描的产品类型：</td>
                                                <td style="height: 29px">
    <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
        ControlToValidate="TextBox4" ErrorMessage="*" ValidationGroup="VGroup2"></asp:RequiredFieldValidator>
                                                </td>
                                                <td style="height: 29px">
                                                    &nbsp;</td>
                                            </tr>
                <tr>
                    <td style="height: 29px">
                        请扫描成品序列号：</td>
                                                <td style="height: 29px">
    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
        ControlToValidate="TextBox2" ErrorMessage="*" ValidationGroup="VGroup2"></asp:RequiredFieldValidator>
                                                </td>
                                                <td style="height: 29px">
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
            请扫描3BK条码号：</td>
                                                <td>
                                                    <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox><asp:RequiredFieldValidator 
                ID="RequiredFieldValidator4" runat="server" 
        ControlToValidate="TextBox3" ErrorMessage="*" ValidationGroup="VGroup2"></asp:RequiredFieldValidator>
                                                </td>
                                                <td>
    <asp:Button ID="Button2" runat="server" Text="关 联" onclick="Button2_Click" 
        ValidationGroup="VGroup2" TabIndex="2" />
                                                </td>
                                            </tr>
                                            </table>
                                            <br />
            <br />
            <br />
    <asp:Label ID="Label2" runat="server" ForeColor="Red" 
        Text="已经存在此成品序列号的相关数据，不能重复插入！" Visible="False"></asp:Label>
    <asp:Label ID="Label3" runat="server" ForeColor="Blue" Text="关联成功！" 
        Visible="False"></asp:Label>  
    <br />
    </div>      
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
        </div> 
</div> 
</asp:Content>

